package cn.czh.service;



import cn.czh.entity.Teacher;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author czh
 * @since 2021-05-31
 */
public interface TeacherService  {
    int addTeacher(Teacher teacher);
    int deleteTeachers(Integer[] ids);
    int updateTeacherById(Teacher teacher);
    List<Teacher> findAll(Teacher teacher);
    int login(Teacher teacher);
    Teacher findTeacherById(Integer id);
    Integer getTeacherId(String username);
    Integer resetPassword(Integer id,String password);
}
